<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ page language="java" import="com.server.web.JsVersionUtil"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>后台管理-菜单管理</title>
		<link rel="stylesheet" href='<c:url value="/share/pintuer.css"></c:url>'>
		<link rel="stylesheet" href='<c:url value="/share/admin.css"></c:url>' >
		<script type="text/javascript" src='<c:url value="/js/jquery.js"></c:url>' ></script>
		<script type="text/javascript" src='<c:url value="/js/pintuer.js"></c:url>'></script>
		<script type="text/javascript" src='<c:url value="/js/admin.js"></c:url>'></script>
		<script type="text/javascript" src='<c:url value="/js/layer.js"></c:url>'></script>
</head>

	<body>
			<form method="post" action="<c:url value='/adminMenu/addMenuFirst'></c:url>">
				<div class="form-group">
					<div class="label"><label for="subject">菜单名称</label></div>
						<div class="field"><input type="text" class="input input-small" id="name" name="name" size="30" data-validate="required:不能为空" />
					</div>
				</div>
				<div class="form-group">
					<div class="label"><label for="sort">排序</label></div>
						<div class="field"><input type="text" class="input input-small" id="sort" name="sort" size="30" />
					</div>
				</div>


			<div class="form-button">
				<button class="button  border-green" type="submit">添加</button>
			</div>
		</form>
		</div>
		<script>
			$(function() {
				
				//å¤§äºç§»å¨ç«¯800å®½åº¦æå¼¹åºæç¤º
				if ($(window).width() >= 800) {
					layer.open({
						type: 1,
						shade: false,
						title: false, //ä¸æ¾ç¤ºæ é¢
						area: ['420px', '640px'],
						content: $('#alert-talk'), //æè·çåç´ 
						cancel: function(index) {
							layer.close(index);
						}
					});
				}
			});
		</script>
	</body>

</html>